package com.ciquan.server.service.impl;

import com.ciquan.server.bean.ArtistRecommend;
import com.ciquan.server.dao.ArtistRecommendMapper;
import com.ciquan.server.service.ArtistRecommendService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by kakalee on 15/3/27.
 */
@Service
public class ArtistRecommendServiceImpl implements ArtistRecommendService {

    @Resource
    private ArtistRecommendMapper artistRecommendMapper;

    @Override
    public int insert(ArtistRecommend artistRecommend) {
        return artistRecommendMapper.insert(artistRecommend);
    }

    @Override
    public List<ArtistRecommend> selectList() {
        return artistRecommendMapper.selectList();
    }

    @Override
    public int update(ArtistRecommend artistRecommend) {
        return artistRecommendMapper.update(artistRecommend);
    }
}
